import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
	state: {
    	isLoading: false,
    	isSowtab:true,
		api: 'https://newzhouzi.fxm365.com/addons/zjhj_mall/core/web/index.php?store_id=1&r=api/',
		isLogin:0,
		num:10,
		selectIndex:0,
		access_token:'',
		
		bage:'0',
		
		parentId:''
    },
    mutations: {
	    updateLoadingStatus(state,status) {
	    
	      	state.isLoading = status;
	      	
	    }
	 
    }
})